//
//  UIView+LoadNib.m
//  YC_GRice
//
//  Created by LiuFeng on 2018/7/11.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import "UIView+LoadNib.h"

@implementation UIView (LoadNib)

+ (id)loadFromNib {
    return  [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:self options:nil]objectAtIndex:0];
}

@end
